'Declaration
<AsyncStateMachineAttribute(C1.CollectionView.ICollectionViewEx/d__19`1)> <ExtensionAttribute()> Public Overloads Shared Function FilterAsync(Of T As Class)( _ ByVal collectionView As ICollectionView(Of T), _ ByVal predicate As Func(Of Object,Boolean) _ ) As Task
'Usage
Dim collectionView As ICollectionView(Of T) Dim predicate As Func(Of Object,Boolean) Dim value As Task value = ICollectionViewEx.FilterAsync(Of T)(collectionView, predicate)
[AsyncStateMachine(C1.CollectionView.ICollectionViewEx/d__19`1)] [Extension()] public static Task FilterAsync<T>( ICollectionView<T> collectionView, Func<object,bool> predicate ) where T: class
Parameters
- collectionView
- The collection view.
- predicate
- The preicate which will filter the collection.
Type Parameters
- T